package com.wangrui.service;

import com.wangrui.pojo.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王锐
 * @since 2020-07-08
 */
public interface UserRoleService extends IService<UserRole> {

    int addUserRole(UserRole userRole);

    int updateUserRole(UserRole userRole);

    UserRole queryUserRoleByUserId(Integer roleId);
}
